﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Pipes.Queries.Model.Query;

namespace Pipes.Queries.Execution
{
  public static class FunctionExecution
  {
    public static object Execute(Function.StdFunction func, params IExpression[] args)
    {
      return Execute(func, (IList<IExpression>)args);
    }
    public static object Execute(Function.StdFunction func, IList<IExpression> args)
    {
      bool anyNull = false;
      var eArgs = ExecUtils.EvalArgs(args, out anyNull);

      switch (func)
      {
        
        default:
          throw new NotImplementedException();
      }
    }
  }
}
